package com.uwlaser.modules.system.service.dto;

import lombok.Getter;
import lombok.Setter;
import java.util.List;
import java.util.Date;
import com.uwlaser.annotation.Query;
import org.springframework.format.annotation.DateTimeFormat;

/**
* @author QZK
* @date 2022-12-07
*/
@Getter
@Setter
public class SysExternalWebserviceLogQueryParam{

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String url;

    /** 精确 */
    @Query
    private String methodName;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String bodyParams;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String headerParams;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String errorMsg;

    /** 精确 */
    @Query
    private String isSuccess;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String requestResult;

    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> createTime;
}
